import type { LoginResult } from "@/types/member"
import { http } from "@/utils/request"

export const loginAPI = (phoneNumber: string) => {
  return http<LoginResult>({ url: '/login/wxMin/simple', method: 'POST', data: { phoneNumber } })
}